<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<link href="css/import.css" type="text/css" rel="stylesheet" />
<link href="css/editorial.css" type="text/css" rel="stylesheet" />
<script src="js/ScrollPic.js" type="text/javascript"></script>
<title>中华游艇网</title>
<script type="text/javascript">

<%
	ChannelService service1 = new ChannelServiceImpl(new ChannelDAO());
	List<Channel> list1 = service1.getAllPrimaryChannel();

	Channel c1 = null;
	int newsCount = 1;
	String channelList = "var channelList = new Array(\"";
	if (list1 != null && list1.size()>0) {
		Iterator<Channel> it = list1.iterator();
			while(it.hasNext()) {
   				c1 = (Channel)it.next();
   				Integer id = c1.getId();
   				String type = c1.getType();		//是属于哪儿大的频道分类
   				if ("01".equals(type)) {		//新闻活动
   					List<Channel> list2 = service1.getSubChannel(c1);
   					Iterator<Channel> it2 = list2.iterator();
   					Channel c2 = null;
   					if (it2 == null || !it2.hasNext()) {
   						continue;
   					}
   					channelList = channelList + id + "\",\"";
   					String subChannelStr = "var subChannelList" + newsCount + " = new Array(\"";
   					while(it2.hasNext()) {
   						c2 = (Channel)it2.next();
   						Integer id2 = c2.getId();
   						subChannelStr = subChannelStr + id2 + "\",\"";
   					}
   					subChannelStr = subChannelStr + ");";
   					subChannelStr = subChannelStr.replace("\",\");","\");");
   					out.println(subChannelStr);
   					String newsName = "var newsName" + newsCount + " = \"" + c1.getName() + "\";";
   					out.println(newsName);
   					out.println("var xmlHttp" + newsCount + "= false;");
   					out.println("function init" + newsCount + "() {");

   					out.println("if(window.XMLHttpRequest) {");
   					out.println("xmlHttp" + newsCount + " = new XMLHttpRequest();");
   					out.println("if (xmlHttp" + newsCount + ".overrideMimeType) {");
   					out.println("         xmlHttp" + newsCount + ".overrideMimeType(\"text/xml\");");
   					out.println("     }");
   					out.println("  }else if (window.ActiveXObject) {");
   					out.println("     try {");
   					out.println("         xmlHttp" + newsCount + " = new ActiveXObject(\"Msxml2.XMLHTTP\");");   
   					out.println("     } catch (e) {");
   					out.println("          try {");
   					out.println("             xmlHttp" + newsCount + " = new ActiveXObject(\"Microsoft.XMLHTTP\");");
   					out.println("          } catch (e) {xmlHttp" + newsCount + " = false;  }");
   					out.println("     }");
   					out.println("  }");
   					out.println("  if (!xmlHttp" + newsCount + ") {");
   					out.println("      window.alert(\"不能创建XMLHttpRequest 对象实例.\");");
   					out.println("      xmlHttp" + newsCount + " = false;");
   					out.println("  }");
   					out.println("}");
   					newsCount ++;
   				} else if ("02".equals(type)) { //游艇销售
   					String saleChannelId = "var saleChannelId = \"" + id + "\";";
   					out.println(saleChannelId);
   					List<Channel> list2 = service1.getSubChannel(c1);
   					Iterator<Channel> it2 = list2.iterator();
   					Channel c2 = null;
   					if (it2 == null || !it2.hasNext()) {
   						continue;
   					}
   					String subChannelStr = "var saleSubChannelList = new Array(\"";
   					while(it2.hasNext()) {
   						c2 = (Channel)it2.next();
   						Integer id2 = c2.getId();
   						subChannelStr = subChannelStr + id2 + "\",\"";
   					}
   					subChannelStr = subChannelStr + ");";
   					subChannelStr = subChannelStr.replace("\",\");","\");");
   					out.println(subChannelStr);
   					String saleName = "var saleName" + " = \"" + c1.getName() + "\";";
   					out.println(saleName);
   					out.println("var xmlHttp" + 7 + "= false;");
   					out.println("function init" + 7 + "() {");

   					out.println("if(window.XMLHttpRequest) {");
   					out.println("xmlHttp" + 7 + " = new XMLHttpRequest();");
   					out.println("if (xmlHttp" + 7 + ".overrideMimeType) {");
   					out.println("         xmlHttp" + 7 + ".overrideMimeType(\"text/xml\");");
   					out.println("     }");
   					out.println("  }else if (window.ActiveXObject) {");
   					out.println("     try {");
   					out.println("         xmlHttp" + 7 + " = new ActiveXObject(\"Msxml2.XMLHTTP\");");   
   					out.println("     } catch (e) {");
   					out.println("          try {");
   					out.println("             xmlHttp" + 7 + " = new ActiveXObject(\"Microsoft.XMLHTTP\");");
   					out.println("          } catch (e) {xmlHttp" + 7 + " = false;  }");
   					out.println("     }");
   					out.println("  }");
   					out.println("  if (!xmlHttp" + 7 + ") {");
   					out.println("      window.alert(\"不能创建XMLHttpRequest 对象实例.\");");
   					out.println("      xmlHttp" + 7 + " = false;");
   					out.println("  }");
   					out.println("}");
   				} else if ("03".equals(type)) { //游艇租赁
   					String leaseChannelId = "var leaseChannelId = \"" + id + "\";";
   					out.println(leaseChannelId);
   					List<Channel> list2 = service1.getSubChannel(c1);
   					Iterator<Channel> it2 = list2.iterator();
   					Channel c2 = null;
   					if (it2 == null || !it2.hasNext()) {
   						continue;
   					}
   					String subChannelStr = "var leaseSubChannelList = new Array(\"";
   					while(it2.hasNext()) {
   						c2 = (Channel)it2.next();
   						Integer id2 = c2.getId();
   						subChannelStr = subChannelStr + id2 + "\",\"";
   					}
   					subChannelStr = subChannelStr + ");";
   					subChannelStr = subChannelStr.replace("\",\");","\");");
   					out.println(subChannelStr);
   					String leaseName = "var leaseName" + " = \"" + c1.getName() + "\";";
   					out.println(leaseName);
   					out.println("var xmlHttp" + 8 + "= false;");
   					out.println("function init" + 8 + "() {");

   					out.println("if(window.XMLHttpRequest) {");
   					out.println("xmlHttp" + 8 + " = new XMLHttpRequest();");
   					out.println("if (xmlHttp" + 8 + ".overrideMimeType) {");
   					out.println("         xmlHttp" + 8 + ".overrideMimeType(\"text/xml\");");
   					out.println("     }");
   					out.println("  }else if (window.ActiveXObject) {");
   					out.println("     try {");
   					out.println("         xmlHttp" + 8 + " = new ActiveXObject(\"Msxml2.XMLHTTP\");");   
   					out.println("     } catch (e) {");
   					out.println("          try {");
   					out.println("             xmlHttp" + 8 + " = new ActiveXObject(\"Microsoft.XMLHTTP\");");
   					out.println("          } catch (e) {xmlHttp" + 8 + " = false;  }");
   					out.println("     }");
   					out.println("  }");
   					out.println("  if (!xmlHttp" + 8 + ") {");
   					out.println("      window.alert(\"不能创建XMLHttpRequest 对象实例.\");");
   					out.println("      xmlHttp" + 8 + " = false;");
   					out.println("  }");
   					out.println("}");
   				} else if ("04".equals(type)) { //码头俱乐部
   					String clubChannelId = "var clubChannelId = \"" + id + "\";";
   					out.println(clubChannelId);
   					List<Channel> list2 = service1.getSubChannel(c1);
   					Iterator<Channel> it2 = list2.iterator();
   					Channel c2 = null;
   					if (it2 == null || !it2.hasNext()) {
   						continue;
   					}
   					String subChannelStr = "var clubSubChannelList = new Array(\"";
   					while(it2.hasNext()) {
   						c2 = (Channel)it2.next();
   						Integer id2 = c2.getId();
   						subChannelStr = subChannelStr + id2 + "\",\"";
   					}
   					subChannelStr = subChannelStr + ");";
   					subChannelStr = subChannelStr.replace("\",\");","\");");
   					out.println(subChannelStr);
   					String clubName = "var clubName" + " = \"" + c1.getName() + "\";";
   					out.println(clubName);
   					out.println("var xmlHttp" + 9 + "= false;");
   					out.println("function init" + 9 + "() {");

   					out.println("if(window.XMLHttpRequest) {");
   					out.println("xmlHttp" + 9 + " = new XMLHttpRequest();");
   					out.println("if (xmlHttp" + 9 + ".overrideMimeType) {");
   					out.println("         xmlHttp" + 9 + ".overrideMimeType(\"text/xml\");");
   					out.println("     }");
   					out.println("  }else if (window.ActiveXObject) {");
   					out.println("     try {");
   					out.println("         xmlHttp" + 9 + " = new ActiveXObject(\"Msxml2.XMLHTTP\");");   
   					out.println("     } catch (e) {");
   					out.println("          try {");
   					out.println("             xmlHttp" + 9 + " = new ActiveXObject(\"Microsoft.XMLHTTP\");");
   					out.println("          } catch (e) {xmlHttp" + 9 + " = false;  }");
   					out.println("     }");
   					out.println("  }");
   					out.println("  if (!xmlHttp" + 9 + ") {");
   					out.println("      window.alert(\"不能创建XMLHttpRequest 对象实例.\");");
   					out.println("      xmlHttp" + 9 + " = false;");
   					out.println("  }");
   					out.println("}");
   				} else if ("05".equals(type)) { //招聘求职
   					String offerChannelId = "var offerChannelId = \"" + id + "\";";
   					out.println(offerChannelId);
   					String offerName = "var offerName" + " = \"" + c1.getName() + "\";";
   					out.println(offerName);
   				} else if ("06".equals(type)) { //展览赛事
   					String clubChannelId = "var matchChannelId = \"" + id + "\";";
   					out.println(clubChannelId);
   					String matchName = "var matchName" + " = \"" + c1.getName() + "\";";
   					out.println(matchName);
   					out.println("var xmlHttp" + 10 + "= false;");
   					out.println("function init" + 10 + "() {");

   					out.println("if(window.XMLHttpRequest) {");
   					out.println("xmlHttp" + 10 + " = new XMLHttpRequest();");
   					out.println("if (xmlHttp" + 10 + ".overrideMimeType) {");
   					out.println("         xmlHttp" + 10 + ".overrideMimeType(\"text/xml\");");
   					out.println("     }");
   					out.println("  }else if (window.ActiveXObject) {");
   					out.println("     try {");
   					out.println("         xmlHttp" + 10 + " = new ActiveXObject(\"Msxml2.XMLHTTP\");");   
   					out.println("     } catch (e) {");
   					out.println("          try {");
   					out.println("             xmlHttp" + 10 + " = new ActiveXObject(\"Microsoft.XMLHTTP\");");
   					out.println("          } catch (e) {xmlHttp" + 10 + " = false;  }");
   					out.println("     }");
   					out.println("  }");
   					out.println("  if (!xmlHttp" + 10 + ") {");
   					out.println("      window.alert(\"不能创建XMLHttpRequest 对象实例.\");");
   					out.println("      xmlHttp" + 10 + " = false;");
   					out.println("  }");
   					out.println("}");
   				}
   		         				
			}
			channelList = channelList + ");";
			channelList = channelList.replace("\",\");","\");");
			out.println(channelList);
	}
%>
var xmlHttp = false;
function init() {

 if(window.XMLHttpRequest) { //Mozilla 浏览器   
  xmlHttp = new XMLHttpRequest();   
  if (xmlHttp.overrideMimeType) {//设置MiME 类别           
         xmlHttp.overrideMimeType("text/xml");   
     }   
  }else if (window.ActiveXObject) { // IE 浏览器   
     try {   
         xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");   
     } catch (e) {   
          try {   
             xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");   
          } catch (e) {xmlHttp = false;  }   
     }   
  }
  if (!xmlHttp) { // 异常，创建对象实例失败   
      window.alert("不能创建XMLHttpRequest 对象实例.");   
      xmlHttp = false;
  }
}
function callNewsServer(i,j) {
var url = "/chinayachting/frontend/index/newsList.do?channelId=" + channelList[i] + "&subChannelId=";

if (i == 0) {
	init1();
	url = url + subChannelList1[j] + "&newsType=" + i;
	xmlHttp1.open("GET", url, true);
	xmlHttp1.onreadystatechange = getNewsList1;
	xmlHttp1.send(null);
} else if (i == 1) {
	init2();
	url = url + subChannelList2[j] + "&newsType=" + i;
	xmlHttp2.open("GET", url, true);
	xmlHttp2.onreadystatechange = getNewsList2;
	xmlHttp2.send(null);
} else if (i == 2) {
	init3();
	url = url + subChannelList3[j] + "&newsType=" + i;
	xmlHttp3.open("GET", url, true);
	xmlHttp3.onreadystatechange = getNewsList3;
	xmlHttp3.send(null);
} else if (i == 3) {
	init4();
	url = url + subChannelList4[j] + "&newsType=" + i;
	xmlHttp4.open("GET", url, true);
	xmlHttp4.onreadystatechange = getNewsList4;
	xmlHttp4.send(null);
} else if (i == 4) {
	init5();
	url = url + subChannelList5[j] + "&newsType=" + i;
	xmlHttp5.open("GET", url, true);
	xmlHttp5.onreadystatechange = getNewsList5;
	xmlHttp5.send(null);
} else if (i == 5) {
	init6();
	url = url + subChannelList6[j] + "&newsType=" + i;
	xmlHttp6.open("GET", url, true);
	xmlHttp6.onreadystatechange = getNewsList6;
	xmlHttp6.send(null);
} else {
	return;
}


}

function getNewsList1() {
if (xmlHttp1.readyState == 4) {
    var response = xmlHttp1.responseText;
	var newsInfo = newsInfo = document.getElementById("xinwen");
	newsInfo.innerHTML=xmlHttp1.responseText;
	xmlHttp1 = false;
}
}

function getNewsList2() {
	if (xmlHttp2.readyState == 4) {
	    var response = xmlHttp2.responseText;
		var newsInfo = document.getElementById("zhuanji");
		newsInfo.innerHTML=xmlHttp2.responseText;
		xmlHttp2 = false;
	}
}

function getNewsList3() {
	if (xmlHttp3.readyState == 4) {
	    var response = xmlHttp3.responseText;
		var newsInfo = document.getElementById("huodong");
		newsInfo.innerHTML=xmlHttp3.responseText;
		xmlHttp3 = false;
	}
}

function getNewsList4() {
	if (xmlHttp4.readyState == 4) {
	    var response = xmlHttp4.responseText;
		var newsInfo = document.getElementById("renwu");
		newsInfo.innerHTML=xmlHttp4.responseText;
		xmlHttp4 = false;
	}
}

function getNewsList5() {
	if (xmlHttp5.readyState == 4) {
	    var response = xmlHttp5.responseText;
		var newsInfo = document.getElementById("xinxi");
		newsInfo.innerHTML=xmlHttp5.responseText;
		xmlHttp5 = false;
	}
}

function getNewsList6() {
	if (xmlHttp6.readyState == 4) {
	    var response = xmlHttp6.responseText;
		var newsInfo = document.getElementById("bleft_03");
		newsInfo.innerHTML=xmlHttp6.responseText;
		xmlHttp6 = false;
	}
}

function callClubServer(i) {
	init9();
var url = "/chinayachting/frontend/index/clubList.do?channelId=" + clubChannelId + "&subChannelId=" + clubSubChannelList[i];

xmlHttp9.open("GET", url, true);
xmlHttp9.onreadystatechange = getClubList;
xmlHttp9.send(null);
}

function getClubList() {
if (xmlHttp9.readyState == 4) {
    var response = xmlHttp9.responseText;
	var clubInfo = document.getElementById("tright");
    
	clubInfo.innerHTML=xmlHttp9.responseText;
	xmlHttp9 = false;
}
}

function callOfferServer(i) {
	init();
var url = "";

if (i == 0) {
	url = "/chinayachting/frontend/index/hrList.do";
} else {
	url = "/chinayachting/frontend/index/offerList.do";
}

xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = getOfferList;
xmlHttp.send(null);
}

function getOfferList() {
if (xmlHttp.readyState == 4) {
    var response = xmlHttp.responseText;
	var clubInfo = document.getElementById("bleft_02");
    
	clubInfo.innerHTML=xmlHttp.responseText;
	xmlHttp = false;
}
}

function callMatchServer(i) {
	init10();
var url = "";

if (i == 0) {
	url = "/chinayachting/frontend/index/exhibitionList.do?channelId=" + matchChannelId;
} else {
	url = "/chinayachting/frontend/index/matchList.do?channelId=" + matchChannelId;
}

xmlHttp10.open("GET", url, true);
xmlHttp10.onreadystatechange = getMatchList;
xmlHttp10.send(null);
}

function getMatchList() {
if (xmlHttp10.readyState == 4) {
    var response = xmlHttp10.responseText;
	var clubInfo = document.getElementById("bright_02");
    
	clubInfo.innerHTML=xmlHttp10.responseText;
	xmlHttp10 = false;
}
}

function callRentAndLeaseServer(i,j) {
	var url = "";
	
	if (i == 0) {
		init7();
		url = "/chinayachting/frontend/index/leaseList.do?channelId=" + saleChannelId + "&subChannelId=" + saleSubChannelList[j];
		xmlHttp7.open("GET", url, true);
		xmlHttp7.onreadystatechange = getSaleList;
		xmlHttp7.send(null);
	} else {
		init8();
		url = "/chinayachting/frontend/index/rentList.do?channelId=" + leaseChannelId + "&subChannelId=" + leaseSubChannelList[j];
		xmlHttp8.open("GET", url, true);
		xmlHttp8.onreadystatechange = getLeaseList;
		xmlHttp8.send(null);
	}
}

function getSaleList() {
if (xmlHttp7.readyState == 4) {
    var response = xmlHttp7.responseText;
	var saleInfo = document.getElementById("bleft_01");
	
   	saleInfo.innerHTML=xmlHttp7.responseText;
   	xmlHttp7 = false;
}
}

function getLeaseList() {
	if (xmlHttp8.readyState == 4) {
	    var response = xmlHttp8.responseText;
		var leaseInfo = document.getElementById("bright_01");

	    leaseInfo.innerHTML=xmlHttp8.responseText;
	    xmlHttp8 = false;
	}
}

function getAjaxObj() {
	var m = 0;
	
	for(m =0;m<channelList.length;m++) {
		if (m > 6) {
			break;
		}
		callNewsServer(m,0);
	}

	callClubServer(0);
	callOfferServer(0);
	callMatchServer(0);
	callRentAndLeaseServer(0,0);
	callRentAndLeaseServer(1,0);
    
    var newsInfo1 = document.getElementById("xinwen");
    var newsInfo2 = document.getElementById("zhuanji");
    var newsInfo3 = document.getElementById("huodong");
    var newsInfo4 = document.getElementById("renwu");
    var newsInfo5 = document.getElementById("xinxi");
    var newsInfo6 = document.getElementById("bleft_03");
    var clubInfo = document.getElementById("tright");
    var offerInfo = document.getElementById("bleft_02");
    var matchInfo = document.getElementById("bright_02");
    var saleInfo = document.getElementById("bleft_01");
    var leaseInfo = document.getElementById("bright_01");

    
    if (newsInfo1.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + newsName1 + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callNewsServer(0,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	newsInfo1.innerHTML = errMessage;
    }
	if (newsInfo2.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + newsName2 + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callNewsServer(1,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	newsInfo2.innerHTML = errMessage;
    }
	if (newsInfo3.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + newsName3 + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callNewsServer(2,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	newsInfo3.innerHTML = errMessage;
    }
	if (newsInfo4.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + newsName4 + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callNewsServer(3,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	newsInfo4.innerHTML = errMessage;
    }
	if (newsInfo5.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + newsName5 + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callNewsServer(4,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	newsInfo5.innerHTML = errMessage;
    }
	if (newsInfo6.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + newsName6 + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callNewsServer(5,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	newsInfo6.innerHTML = errMessage;
    }
	if (clubInfo.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + clubName + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callClubServer(0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	clubInfo.innerHTML = errMessage;
    }
	if (offerInfo.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + offerName + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callOfferServer(0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	offerInfo.innerHTML = errMessage;
    }
	if (matchInfo.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + matchName + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callMatchServer(0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	matchInfo.innerHTML = errMessage;
    }
	if (saleInfo.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + saleName + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callRentAndLeaseServer(0,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	saleInfo.innerHTML = errMessage;
    }
	if (leaseInfo.innerHTML == "") {
    	var errMessage = "<h2><span class='red'>" + leaseName + "</span></h2><div class=\"tab_menu\"></div><div class=\"tab_box\"><div class=\"tab_box\"><div style=\"padding:15px 10px;\">信息加载失败！请点击";
    	errMessage = errMessage + "<span style=\"cursor:hand;color:red;\" onclick='callRentAndLeaseServer(1,0);'>这里</span>重试，也可选择主菜单栏。</div></div>";
    	leaseInfo.innerHTML = errMessage;
    }
}
</script>
</head>

<body>

<%@include file="/common/head.jsp" %>
<!--content_start-->
<div id="content">

<div class="box">
	<div class="left">
    	<!--滚动 start-->
<div class=xinwen id="xinwen">
</div>
        <div class="zhuanji" id="zhuanji">
            
        </div>
    </div>
    
    <div class="mid">
    	<div class="shipin">
    		<h2><span class="red"><!--品牌展播 | -->航海胜地</span></h2>
            <!--<h3><span>视频直播</span><span>人物专访</span><span>品牌视频</span><span>品牌图片展示</span></h3>-->
            <h3><span>加勒比海</span><span>地中海</span><span>北美洲</span><span>印度洋</span><span>太平洋</span><span>中国</span></h3>
            <div><img src="images/vedio.jpg" /></div>
        </div>
        <div class="renwu" id="renwu">    	
    	</div>
    </div>
    <div class="right">
    	<div class="huodong" id="huodong">
            
        </div>
    	<div class="xinxi" id="xinxi">
            
        </div>
    </div>
    
    <div class="clear"></div>
</div>

<div class="box">
	<div class="tleft">
    	<h2><span class="red"> <a href="<%=rootPath %>/frontend/yellow/yellowPages.do" title="游艇黄页">游艇黄页</a></span></h2>
            <h3>&nbsp;</h3>
        <div class="huangye">
        	<ul><%@include file="/frontend/yellow/include2main.jsp" %>           	
            </ul>
            <div class="clear"></div>
      </div>
	</div>
    
    <div class="tright" id="tright">
  </div>
    
    <div class="clear"></div>
</div>

<div class="box">
	<div class="bleft_01" id="bleft_01">
  </div>
    
    <div class="bright_01" id="bright_01">
    </div>
    
    <div class="clear"></div>
</div>

<div class="box">
	<div class="bleft_02" id="bleft_02">
    	
	</div>
    
    <div class="bright_02" id="bright_02">
    </div>
    
    <div class="clear"></div>
</div>

<div class="box">
  <div class="bannerleft"><img src="images/banner_03.jpg" alt="广告" /></div>
  <div class="bannerright"><img src="images/banner_10.jpg" alt="广告" /></div>
  <div class="clear"></div>
</div>

<div class="box">
	<div class="bleft_03" id="bleft_03">
    	
	</div>
    
    <div class="bright_03">
    	<h2><span class="blue">友情链接</span></h2>
        <h3><span>游艇相关</span><span>名站推荐</span><span>热站推荐</span><span>实用酷站</span></h3>
        <div class="scroll"><a href="#"><img src="images/pre_02.gif" alt="" /></a><a href="#"><img src="images/next_02.gif" alt="" /></a></div>
        <ul class="friendlink">
           	<li>[游艇网]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
            <li>[游艇杂志]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
            <li>[帆船赛事]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
            <li>[游艇展览]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
            <li>[码头及俱乐部]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
            <li>[游艇培训机构]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
            <li>[政府协会]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
            <li>[知名游艇品牌]：<a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a> <a href="#" title="方公主汽车游艇">方公主汽车游艇</a></li>
          </ul>
            <div class="more_red"><a href="#" title="more&gt;&gt;"><span>more&gt;&gt;</span></a></div>
    </div>
    
    <div class="clear"></div>
</div>

<div class="banner_03"><img src="images/banner_15.jpg" alt="广告" /></div>

<div class="tool"></div>

</div>
<!--content_end-->

<%@include file="/common/foot.jsp" %>
<script type="text/javascript">
getAjaxObj();
</script>
</body>
</html>
